<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<html xmlns:wb=“http://open.weibo.com/wb”>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
	<!--{echo formatPageSeo()}-->
	<link rel="icon" href="{$_FANWE['site_root']}favicon.ico" type="image/x-icon" />
	<script type="text/javascript" src="./public/js/jquery.js"></script>
	<?php
		$default_js[] = './public/js/jquery.cookie.js';
                $default_js[] = './public/js/jquery.easing.js';
		$default_js[] = './public/js/jquery.lazyload.js';
                $default_js[] = './public/js/base.js';
	?>
	<script type="text/javascript" src="{script $default_js}"></script>
	<?php
		$current_css[] = './tpl/css/reset.css';
		$current_css[] = './tpl/css/base.css';
		$current_css[] = './tpl/css/globe.css';
		$current_css[] = './tpl/css/publishbox.css';
		$current_css[] = './tpl/css/lightbox.css';
		$current_css[] = './tpl/css/addfav.css';
		$current_css[] = './public/js/jqueryui/jquery.ui.css';
	?>
	<link rel="stylesheet" type="text/css" href="{css $current_css}" media="all"/>
	<!--{loop $css_list $css}-->
	<link rel="stylesheet" type="text/css" href="{css $css['url']}"{if !empty($css['media'])} media="{$css['media']}"{/if} />
	<!--{/loop}-->
	<script type="text/javascript">
		var SITE_PATH = '$_FANWE[site_root]';
		var SITE_URL = '$_FANWE[site_url]';
		var TPL_PATH = '{TPL_PATH}';
		var PUBLIC_PATH	 = '{PUBLIC_PATH}';
		var MODULE_NAME	 = '{MODULE_NAME}';
		var ACTION_NAME	 = '{ACTION_NAME}';
		var COOKIE_PRE = "$_FANWE['config']['cookie']['cookie_pre']";
		var HEADER_TOP_HEIGHT = 85;
		<!--{dynamic dynamicScript}-->
	</script>
	<!--{if isset($_FANWE['cache']['business']['taobao'])}-->
	<script src="http://a.tbcdn.cn/apps/top/x/sdk.js?appkey={$_FANWE['cache']['business']['taobao']['app_key']}"></script>
	<!--{/if}-->
      <script src="http://tjs.sjs.sinajs.cn/open/api/js/wb.js" type="text/javascript" charset="utf-8"></script>
</head>
<body>
	<div id="head">
        <!--{dynamic getUserInfo}-->
		<div id="info_bar">
			<div class="fm960">
				<div class="fl">
					<a href="{u index}"><img class="logo fl" src="{$_FANWE['site_root']}{$_FANWE['setting']['site_logo']}" /></a>
				</div>
                <div class="fr top_search r5" id="top_search_form">
                    <div class="selectbox" data-v="1">
					<span class="selected">搜宝贝</span>
					<span class="icon"></span>
					<ol>
						<li class="current" data-index="bao"><a href="#">宝贝</a></li>
						<li data-index="album"><a href="#">专辑</a></li>
						<li data-index="user"><a href="#">用户</a></li>
						<li data-index="group"><a href="#">小组</a></li>
						<li class="lastli"></li>
					</ol>
                   </div>            
					<form action="{u search}" method="get">
						<input type="text" name="keyword" class="ts_txt" value="" tooltip="{lang search_share}"/>
                        <input type="hidden" name="action" value="bao" id="select_type">
						<input type="submit" value=" " class="ts_btn" />
					</form>
				</div>
			</div>
		</div>
		<div id="nav_bar">
			<div class="fm960">
				<ul class="fl">
                    <?php
						$g_r_cate = $_FANWE['cache']['goods_category']['root'];
						$g_r_cate = &$_FANWE['cache']['goods_category']['all'][$g_r_cate];
					?>
                    <li class="shopping"><a href="{u book/shopping}">{$g_r_cate['cate_name']}</a></li>
					<li class="f"><a href="{u index}"{if MODULE_NAME == 'Index'} class="c"{/if}>{lang page_index}</a></li>
					<li class="split"><a href="{u album}"{if MODULE_NAME == 'Album'} class="c"{/if}>{lang common/album}</a></li>
                    <li><a href="{u group/index}"{if MODULE_NAME == 'Group' || MODULE_NAME == 'Topic'} class="c"{/if}>{lang group}</a></li>
					<li class="split"><a href="{u look/index}"{if MODULE_NAME == 'Look'} class="c"{/if}>{lang look}</a></li>
					<li><a href="{u dapei/index}"{if MODULE_NAME == 'Dapei'} class="c"{/if}>{lang dapei}</a></li>
					<li><a href="{u daren/index}"{if MODULE_NAME == 'Daren'} class="c"{/if}>{lang daren}</a></li>
					<li class="split"><a href="{u shop}"{if MODULE_NAME == 'Shop'} class="c"{/if}>{lang common/nav_shop}</a></li>
					<li><a href="{u exchange}"{if MODULE_NAME == 'Exchange'} class="c"{/if}>{lang common/nav_exchange}</a></li>
                    <li class="split"><a href="{u mailrss/index}"{if MODULE_NAME == 'MailRss'} class="c"{/if}>{lang common/mailrss}</a></li>
                    
                   
				</ul>
				
			</div>
		</div>
         <!--2010-11-12@米粒谷添加逛街啦下拉导航-->
        
        
         <!--2010-11-12@米粒谷添加逛街啦下拉导航结束-->
        <div id="head_bottom">
          <div class="fm960" style="position:relative;z-index:9999999">
            <!--2010-11-12@米粒谷添加逛街啦下拉导航-->
        
         <div id="cate_slide" class="cate_list_show no_slide cate_list_show_index" style="left:8px; top: 0; display:none;">
               
                <ul class="cate_show cate_item">  
                   <li><a href="{u shou/help}" target="_blank" style="color:#FF85B4" class="active_link nav_link clearfix">拾宝工具</a></li>
                   <li {if $page_args['sort'] == 'hot1'} class="c"{/if}>
                    <?php
                        $temp_args = $page_args;
                        $temp_args['sort'] = 'hot1';
                        $temp_url = FU('book/'.ACTION_NAME,$temp_args);
                    ?>
                    <a href="{$temp_url}" class="most_new nav_link">24小时最新<b></b> 
                    </a>
                  </li>
                  <li {if $page_args['sort'] == 'hot7'} class="c"{/if}>
                      <?php
                          $temp_args['sort'] = 'hot7';
                          $temp_url = FU('book/'.ACTION_NAME,$temp_args);
                      ?>
                      <a href="{$temp_url}" class="most_new nav_link">7天最热<b></b>
                      </a>
                  </li>		
				</ul>
                
                <ul class="cate_show cate_nav">
                <?php
                 $g_i_cates = &$_FANWE['cache']['goods_category']['parent'];
                  
                ?>
                <!--{loop $g_i_cates $g_i_cate_id}-->
					<?php
						$g_i_cate = &$_FANWE['cache']['goods_category']['all'][$g_i_cate_id];
						$g_i_code = &$g_i_cate['cate_code'];
                        $g_i_code_id=&$g_i_cate['cate_id'];
						if(MODULE_NAME == 'Book' && $_FANWE['request']['cate'] == $g_i_code)
							$cate_active = 'current';
						else
							$cate_active = '';
					?>
					<li class="{$cate_active}"><a class="nav_link cate" href="{u book/cate cate=$g_i_code}"><i class="icon ico_{$g_i_code_id}"></i>$g_i_cate['cate_name']<b></b></a> 
                    <div class="cate_words">
                     <?php
                      $g_i_i_cates = &$_FANWE['cache']['goods_category']['all'][$g_i_code_id]['index_tags']; 
                    ?>
                    
                    <!--{eval $tag_index =1;}-->
                    <!--{loop $g_i_i_cates $tag}-->
                    <a target="_blank" href="{u book/cate sort=hot1,tag=$tag['url_tag'],cate=$g_i_code}" class="cate_word">{$tag['tag_name']}</a>
                    <!--{if $tag_index > 1}-->
                    <!--{eval break;}-->
                    <!--{/if}-->
                    <!--{eval $tag_index++;}-->
                    <!--{/loop}-->
                   
                    </div>
                    </li>
					<!--{/loop}-->	

				</ul>
		</div>
         <!--2010-11-12@米粒谷添加逛街啦下拉导航结束-->
         </div>
        </div>
	</div>
	<div id="body_wrap">